$editorTabsborderColor: #121315;
body, html {
  margin: 0;
  padding: 0;
  background: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

input, textarea {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

.editor-tabs {
  background: $editorTabsborderColor;

  .el-tabs__header {
    margin: 0;
    border-bottom-color: $editorTabsborderColor;

    .el-tabs__nav {
      border-color: $editorTabsborderColor;
    }
  }

  .el-tabs__item {
    height: 32px;
    line-height: 32px;
    color: #888a8e;
    border-left: 1px solid $editorTabsborderColor !important;
    background: #363636;
    margin-right: 5px;
    user-select: none;
  }

  .el-tabs__item.is-active {
    background: #1e1e1e;
    border-bottom-color: #1e1e1e !important;
    color: #fff;
  }

  .el-icon-edit {
    color: #f1fa8c;
  }

  .el-icon-document {
    color: #a95812;
  }

  :focus.is-active.is-focus:not(:active) {
    box-shadow: none;
    border-radius: 0;
  }
}

// home
.right-scrollbar {
  .el-scrollbar__view {
    padding: 12px 18px 15px 15px;
  }
}

.el-scrollbar__wrap {
  box-sizing: border-box;
  overflow-x: hidden !important;
  margin-bottom: 0 !important;
}

.center-tabs {
  .el-tabs__header {
    margin-bottom: 0 !important;
  }

  .el-tabs__item {
    width: 50%;
    text-align: center;
  }

  .el-tabs__nav {
    width: 100% !important;
  }
}

.reg-item {
  padding: 12px 6px;
  background: #f8f8f8;
  position: relative;
  border-radius: 4px;

  .close-btn {
    position: absolute;
    right: -6px;
    top: -6px;
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    z-index: 1;
    cursor: pointer;
    font-size: 12px;

    &:hover {
      background: rgba(210, 23, 23, 0.5)
    }
  }

  & + .reg-item {
    margin-top: 18px;
  }
}

.action-bar {
  & .el-button + .el-button {
    margin-left: 15px;
  }

  & i {
    font-size: 20px;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
}

.custom-tree-node {
  width: 100%;
  font-size: 14px;

  .node-operation {
    float: right;
  }

  i[class*="el-icon"] + i[class*="el-icon"] {
    margin-left: 6px;
  }

  .el-icon-plus {
    color: #409EFF;
  }

  .el-icon-delete {
    color: #157a0c;
  }
}

.el-scrollbar__view {
  //   overflow-x: hidden;
}

.el-rate {
  display: inline-block;
  vertical-align: text-top;
}

.el-upload__tip {
  line-height: 1.2;
}

//全局弹出框样式修改
.el-dialog {
  border-radius: 4px;
}

.el-form-item__label {
  text-align: left;
}

//圆角统一
.pagination-container {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

//圆角统一
.el-table {
  border-radius: 4px;
}

//table的title大小
//.el-table th.el-table__cell > .cell {
//  font-size: 12px;
//}

//table的content大小
//#tab-content {
//  .el-table {
//    font-size: 12px;
//  }
//}

//列表表头对齐
.is-sortable {
  padding-top: 15px !important;
}

//列表溢出隐藏
.cell {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

//搜索栏输入框与按钮位置
.search {
  margin-top: 8px;
  background-color: #fff;
  padding: 0 20px;
  padding-top: 20px;
  border-radius: 4px;
  display: flex;
}

.search-btn {
  display: inline-block !important;
}

.el-form--inline .el-form-item {
  margin-right: 40px !important;
}

//子菜单的选中颜色
.el-menu-item.is-active {
  //color: #effaff !important;
  //background-color: #00afff;
}

//当弹出框只有一条数据
.mt-one {
  margin-top: 180px !important;
}

//当弹出框有四条数据
.mt-four {
  margin-top: 80px;
}

//删除弹出框
.el-message-box {
  height: 200px;
  padding: 0 24px;
  margin-bottom: 100px !important;
}

//删除弹出框
.el-message-box__headerbtn {
  right: 0 !important;
}

//删除弹出框 顶部
.el-message-box__header {
  padding-top: 20px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

//删除弹出框 中部
.el-message-box__content {
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding: 30px 15px !important;
}

//删除弹出框 底部
.el-message-box__btns {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 30px;
}

//删除弹出框 底部按钮
.el-message-box__btns button:nth-child(2) {
  margin-left: 20px;
}

//搜索框字号
.el-input__inner {
  font-size: 14px;
}

//搜索和重置的样式
.search-btn-style {
  min-width: 164px;
}

// 下拉搜索框样式
.el-input--medium .el-input__inner {
  height: 32px;
}

//时间框样式
.el-range-editor--medium.el-input__inner {
  height: 32px;
}

//按钮直接的间隔
#btns-style {
  margin-left: 20px;
}

//导入的footer样式
.dialog-footer-imp {
  display: flex;
  justify-content: left;

  .model-right {
    margin-left: 105px;
    display: flex;
  }
}

//单条数据弹出框样式
#achieve_dialog .el-dialog {
  width: 600px !important;
  height: 260px !important;
  padding: 0 24px;
}

#achieve_dialog .el-dialog .el-dialog__header {
  padding-left: 0px !important;
  padding-top: 20px !important;
}

#achieve_dialog .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-top: 30px !important;
}

#achieve_dialog .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog .el-dialog .el-input {
  width: 450px !important;
  height: 40px !important;
}

#achieve_dialog .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog .el-dialog .el-dialog__footer {
  padding-right: 0 !important;
  margin-bottom: 8px !important;
}

#achieve_dialog .el-dialog .el-form-item__label {
  width: 82px !important;
  margin-left: 11px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog .el-form-item__error {
  margin-left: 11px !important;
}

//四条数据弹出框样式
#achieve_dialog-four .el-dialog {
  width: 600px !important;
  height: 398px !important;
  padding: 0 24px;
}

#achieve_dialog-four .el-form-item {
  margin-bottom: 20px !important;
}

#achieve_dialog-four .el-dialog .el-dialog__header {
  padding-left: 0px !important;
  padding-top: 20px !important;
}

#achieve_dialog-four .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-top: 30px !important;
  padding-bottom: 0px !important;
}

#achieve_dialog-four .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-four .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-four .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-four .el-dialog__footer {
  padding-right: 0 !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-four .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-four .el-form-item__error {
  margin-left: 34px !important;
}

//五条数据弹出框样式 【时间节点】
#achieve_dialog-five-update .el-dialog {
  width: 600px !important;
  height: 498px !important
}

#achieve_dialog-five-update .el-form-item__error {
  margin-left: 62px;
}

#achieve_dialog-five-update .el-dialog__body {
  padding: 30px 20px 0;
}

#achieve_dialog-five-update .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-sfive-update .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
  padding-right: 60px !important;
}

#achieve_dialog-five-update .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-five-update .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-five-update .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-five -update.el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-five-update .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
  width: 108px !important;
}


//五条数据弹出框样式
#achieve_dialog-five .el-dialog {
  width: 600px !important;
  height: 530px !important;
}

#achieve_dialog-five .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-five .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
  padding-right: 60px !important;
}

#achieve_dialog-five .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-five .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-five .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-five .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-five .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

//当弹出框七条数据
.achieve_dialog-seven .el-dialog {
  width: 375px !important;
  height: 654px !important;
}

.dialog-list-width {
  width: 375px !important;
}


//六条数据弹出框样式
#achieve_dialog-six .el-dialog {
  width: 600px !important;
  height: 530px !important;
}

#achieve_dialog-six .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-six .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
  padding-right: 60px !important;
}

#achieve_dialog-six .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-six .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-six .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-six .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-six .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

//六条copy数据弹出框样式
#achieve_dialog-sixcopy .el-dialog {
  width: 600px !important;
  height: 592px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
  padding-left: 24px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-sixcopy .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-sixcopy .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-sixcopy .el-form-item__error {
  margin-left: 34px !important;
}

//生产计划页面移动生产计划专用
#achieve_dialog-sixcopy1 .el-dialog {
  width: 600px !important;
  //height: 592px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
  padding-left: 24px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-sixcopy1 .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-sixcopy1 .el-dialog .el-form-item__label {
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-sixcopy1 .el-form-item__error {
  margin-left: 34px !important;
}

//七条数据弹出框
#achieve_dialog-sixUpdate .el-dialog {
  width: 600px !important;
  //height: 654px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-input {
  width: 375px !important;
  height: 40px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-sixUpdate .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-sixUpdate .el-dialog .el-form-item__label {
  width: 155px !important;
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-sixUpdate .el-form-item__error {
  position: absolute;
  top: 100%;
  left: 110px;
}

//当弹出框八条数据 基础配置
.achieve_dialog-seven .el-dialog {
  width: 375px !important;
  height: 654px !important;
}

.dialog-list-width {
  width: 375px !important;
}

//七条数据弹出框
#achieve_dialog-seven .el-dialog {
  width: 600px !important;
  //height: 654px !important;
}

#achieve_dialog-seven .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-seven .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
}

#achieve_dialog-seven .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-seven .el-dialog .el-input {
  width: 375px !important;
  height: 40px !important;
}

#achieve_dialog-seven .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-seven .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-seven .el-dialog .el-form-item__label {
  width: 155px !important;
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-seven .el-form-item__error {
  position: absolute;
  top: 100%;
  left: 150px;
  padding-left: 40px;
}

//八条数据弹出框
#achieve_dialog-eight .el-dialog {
  width: 600px !important;
  height: 654px !important;
}

#achieve_dialog-eight .el-dialog .el-dialog__header {
  padding-left: 24px !important;
  padding-top: 20px !important;
}

#achieve_dialog-eight .el-dialog .el-dialog__body {
  padding: 36px 0px !important;
  padding-bottom: 0px !important;
  padding-top: 30px !important;
}

#achieve_dialog-eight .el-dialog .el-button + .el-button {
  margin-left: 20px !important;
}

#achieve_dialog-eight .el-dialog .el-input {
  width: 400px !important;
  height: 40px !important;
}

#achieve_dialog-eight .el-dialog .el-input--medium .el-input__inner {
  height: 100% !important;
}

#achieve_dialog-eight .el-dialog__footer {
  padding-right: 20px !important;
  margin-bottom: 8px !important;
}

#achieve_dialog-eight .el-dialog .el-form-item__label {
  width: 112px !important;
  margin-left: 35px !important;
  line-height: 40px !important;
  font-weight: normal;
}

#achieve_dialog-eight .el-form-item__error {
  position: absolute;
  top: 100%;
  left: 68px;
}

//查看下发记录弹出框
#achieve_dialog-issue .el-dialog {
  width: 815px !important;
  height: 648px !important;
  padding: 0 24px;
  padding-right: 0;
}

#achieve_dialog-issue .el-dialog .el-dialog__header {
  padding-left: 0px !important;
  padding-top: 20px !important;
}

#achieve_dialog-issue .el-dialog .el-dialog__body {
  padding: 26px 0px !important;
  padding-top: 9px !important;
  padding-right: 20px !important;
}

#achieve_dialog-issue .el-dialog .pagination-container {
  margin-top: 25px;
  padding: 0 !important;
}

#achieve_dialog-issue .el-dialog .el-pagination {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

.el-dialog__body::-webkit-scrollbar {
  width: 6px; /* 设置滚动条宽度 */
  height: 6px; /* 设置滚动条高度 */
}

.el-dialog__body::-webkit-scrollbar-thumb {
  border-radius: 3px; /* 设置滚动条圆角 */
  background-color: #cfcfcf; /* 设置滚动条颜色 */
}

.el-dialog__body::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* 设置滚动条背景颜色 */
}

//推迟或提前
#achieve_dialog-postpone .el-dialog {
  width: 500px !important;
}

#achieve_dialog-postpone .el-form-item__label {
  width: 108px !important;
}

#achieve_dialog-postpone .el-textarea {
  width: 320px !important;
}

#achieve_dialog-postpone .el-textarea__inner {
  height: 100px !important;
}
